package com.lyloou.practicemysql.repository;

import com.lyloou.practicemysql.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface COrderRepository extends JpaRepository<COrder, Long> {

    List<COrder> findAllByUserId(Integer userId);
}
